package com.smh.a01IOStreamDemo1;

import java.io.FileInputStream;
import java.io.IOException;

public class IOStreamDemo5 {
    public static void main(String[] args) throws IOException {

        FileInputStream fis = new FileInputStream("day26-code\\file\\a.txt");
        int b;
        while ((b = fis.read()) != -1) {
            System.out.print((char) b);
        }

    }
}
